package com.ztz.mynewdemo.utils;

/**
 * Created by wqewqe on 2017/5/16.
 */

public class NewsApi {
    public static final String HOST="http://v.juhe.cn/toutiao/index";
    public static final String TODAY="http://api.juheapi.com/japi/toh";
    public static final String TODAY_DETAIL="http://api.juheapi.com/japi/tohdet";
    public static final String JOKE="http://japi.juhe.cn/joke/content/text.from";
    public static final String JOKE_IMG="http://japi.juhe.cn/joke/img/text.from";
    public static final String UPDATE_JOKE="http://japi.juhe.cn/joke/content/list.from";
    public static final String UPDATE_JOKE_IMAGE="http://japi.juhe.cn/joke/img/list.from";
    public static final String GEO="http://v.juhe.cn/weather/geo";
    public static class URL
    {
        public final static String BASE = "https://leancloud.cn:443/1.1/";
        public final static String BASE_CLASS = "https://leancloud.cn:443/1.1/classes/";
        public final static String LOGIN = BASE + "login";
        public final static String _User = BASE_CLASS + "_User/";
        public final static String REGISTER = BASE + "users";
    }
}
